#include "WindowDescription.h"

WindowDescription::WindowDescription(HINSTANCE pHInstance, int pShowWindowParam, const TCHAR* pTitle, int pWidth, int pHeight, bool pIsWindowed)
	: hInstance(pHInstance), showWindowParam(pShowWindowParam), title((TCHAR*)pTitle), width(pWidth), height(pHeight), isWindowed(pIsWindowed) {
}

HINSTANCE WindowDescription::getInstance() {
	return hInstance;
}

int WindowDescription::getShowWindowParam() {
	return showWindowParam;
}

int WindowDescription::getWidth() {
	return width;
}

int WindowDescription::getHeight() {
	return height;
}

bool WindowDescription::getIsWindowed() {
	return isWindowed;
}

LPCTSTR WindowDescription::getTitle() {
	return title;
}

void WindowDescription::setTitle(TCHAR* pTitle) {
	title = pTitle;
	// TODO: update window title
}